package com.sgcc.pda.web.upload.okhttp;

import java.io.InputStream;


public class OkHttpSyncResponse {

    private boolean isSuccessful;
    private String response;
    private byte[] responseBytes;
    private InputStream responseStream;
    private String errorMsg;

    public String getResponse() {
        return response;
    }

    public void setResponse(InputStream response) {
        this.responseStream = response;
    }

    public byte[] getResponseBytes() {
        return responseBytes;
    }

    public InputStream getResponseStream() {
        return responseStream;
    }

    public void setResponse(String response) {
        this.response = response;
    }

    public void setResponse(byte[] response) {
        this.responseBytes = response;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public boolean isSuccessful() {
        return isSuccessful;
    }

    public void setSuccessful(boolean successful) {
        isSuccessful = successful;
    }
}
